# ============================================================
# XENOMORPH BEHAVIOR & PERSONALITY TRAITS (NSFW + SFW canon)
# Require trait_xenomorph. Not sex-gated; stack freely.
# ============================================================

trait_xeno_behav_claiming = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_claiming_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		logistic_growth_mult = 0.1
		planet_xenomorph_host_breeders_produces_mult = 0.1
	}
	icon = "gfx/interface/icons/traits/trait_lv_sexual_pheromones.dds"
}

trait_xeno_behav_predatory = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_predatory_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		logistic_growth_mult = 0.1
		army_damage_mult = 0.05
	}
	icon = "gfx/interface/icons/traits/trait_lv_dominant.dds"
}

trait_xeno_behav_brood_dominant = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_brood_dominant_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10  # 3_74: canonical (orig+restoration)
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		# 3_64: slave-produces restoration (3_59-anchored)
		army_morale_damage_mult = 0.1
	}
	icon = "gfx/interface/icons/traits/trait_lv_dominant.dds"
}

trait_xeno_behav_pheromone_drunk = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_pheromone_drunk_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10  # 3_74: canonical (orig+restoration)
		planet_xenomorph_breeding_toys_produces_mult = 0.10
	}
	icon = "gfx/interface/icons/traits/trait_lv_sexual_pheromones.dds"
}

trait_xeno_behav_heat_lust = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_heat_lust_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		logistic_growth_mult = 0.1
		pop_amenities_usage_mult = 0.05
	}
	icon = "gfx/interface/icons/traits/trait_lv_aggressively_adaptive_reproduction.dds"
}

trait_xeno_behav_perfect_organism = {
	cost = 3
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_perfect_organism_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		army_damage_mult = 0.1
		pop_environment_tolerance = 0.1
	}
	icon = "gfx/interface/icons/traits/trait_xenomorph.dds"
}

trait_xeno_behav_ambush = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_ambush_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		army_morale_damage_mult = 0.1
		army_defense_damage_mult = 0.1
	}
	icon = "gfx/interface/icons/traits/trait_xeno_adrenal.dds"
}

trait_xeno_behav_obedience = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_obedience_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		planet_jobs_unity_produces_mult = 0.1
		pop_amenities_usage_mult = -0.05
	}
	icon = "gfx/interface/icons/traits/trait_xenomorph_brood_parasitism.dds"
}

trait_xeno_behav_host_adaptive = {
	cost = 2
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_host_adaptive_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		pop_environment_tolerance = 0.1
		logistic_growth_mult = 0.05
	}
	icon = "gfx/interface/icons/traits/trait_xenomorph_black_goo_touched.dds"
}

trait_xeno_behav_acid_blooded = {
	cost = 3
	category = normal
	allowed_archetypes = { BIOLOGICAL }
	custom_tooltip = trait_xeno_behav_acid_blooded_effect
	randomized = no
	species_potential_add = { has_trait = trait_xenomorph }
	species_possible_add = { can_add_genetic_traits = yes }
	species_possible_remove = { exists = from from = { OR = { can_remove_beneficial_genetic_traits = yes has_country_flag = lv_cheat_mode } } }
	species_possible_merge_add = { always = yes }
	species_possible_merge_remove = { always = yes }
	tags = { organic positive }
	modifier = {
		army_defense_damage_mult = 0.1
		army_collateral_damage_mult = 0.15
	}
	icon = "gfx/interface/icons/traits/trait_xenomorph_blood.dds"
}
